package com.honghu.paylibrary.bean;

import java.io.Serializable;

public abstract class BaseEnumBean<T> implements Serializable {
    public BaseEnumBean(int value) {
        this.value = setValue(value);
    }

    public BaseEnumBean(T value) {
        this.value = value;
    }

    protected T value;

    public T getValue() {
        return value;
    }

    public abstract T setValue(int value);
}
